﻿using UnityEngine;
using System.Collections;
using UnityEditor;

[CustomEditor(typeof(CameraControl))]
public class CameraControlEditor : Editor {
    private CameraControl ctrl;

    public void OnEnable()
    {
        ctrl = (CameraControl)target;

    }

    public override void OnInspectorGUI()
    {
        //ctrl.IsPc = EditorGUILayout.BeginToggleGroup("工作模式:", ctrl.IsPc);
        base.OnInspectorGUI();
        //EditorGUILayout.EndToggleGroup();
    }
}
